<!--
 * @FilePath     : /study_code/layui/7-2.html
 * @Description  : 响应式栅格布局
 * @Date         : 2025-04-10 13:23:55
 * @Author       : Fang YingGui
 * @LastEditors  : fangyinggui 18715384437@163.com
 * @LastEditTime : 2025-04-10 13:24:06
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>documentName</title>
    <link rel="stylesheet" href="/layui/dist/css/layui.css" />
    <link rel="stylesheet" href="/layui/grid/css/style.css" />
  </head>
  <body>
    <div class="layui-row">
      <div class="layui-col-xs12 layui-col-md8">
        <div class="grid-demo grid-demo-bg1">xs:12/12 | md:8/12</div>
      </div>

      <div class="layui-col-xs6 layui-col-md4">
        <div class="grid-demo">xs:6/12 | md:4/12</div>
      </div>

      <div class="layui-col-xs6 layui-col-md12">
        <div class="grid-demo grid-demo-bg2">xs:6/12 | md:12/12</div>
      </div>
    </div>

    <script src="/layui/dist/layui.js"></script>
    <script>
      console.log(1, layui)
    </script>
  </body>
</html>
